package com.mgq.generic;

/**
 * @author MaGuangQi
 * 子类派生泛型类,如果子类也是泛型类,子类和父类的泛型类型要一致
 * 子类也是泛型类,子类和父类的泛型类型要一致
 * @date 2021-12-24 15:47
 **/
public class ChildrenFirst<T> extends Parent<T>{

    private T key;

    public T getKey() {
        return key;
    }

    public void setKey(T key) {
        this.key = key;
    }
}
